﻿Imports DTO
Imports DAO

Public Class PhongBUS
    'LOAD DANH SÁCH PHÒNG
    Public Function HienThiDanhSachPhong() As List(Of PhongDTO)

        Dim dao As New PhongDAO()
        Return dao.HienThiDanhSachPhong()

    End Function


    'INSERT PHÒNG
    Public Function InsertPhong(ByVal phong As PhongDTO) As Integer
        Dim daoPhong As New PhongDAO()
        Return daoPhong.InsertPhong(phong)
    End Function
End Class
